package com.wufeng.service;

import com.wufeng.dto.ChatRecordDto;
import com.wufeng.entity.ChatRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Hxh
* @description 针对表【chat_record】的数据库操作Service
* @createDate 2024-01-02 23:12:58
*/
public interface ChatRecordService extends IService<ChatRecord> {

    List<ChatRecordDto> getChatRecordByCondition(List<Integer> userIds, String message, Integer pageIndex, Integer pageSize);

    Integer countChatRecordByCondition(List<Integer> userIds, String message);
}
